home *** CD-ROM | disk | FTP | other *** search
- 5 b=198:poke53281,1:poke53280,5
- 6 bl$=" ":open15,8,15,"i0":close15
- 7 open2,8,2,"$":forx=0to156:get#2,a$: :next
- 8 get#2,a$:si=val(a$):close2
- 10 print"[147][144] [204][207][193][196][211][212][193][210][160][200]ardcopy [211]etup "
- 20 print"[196]o you have:":print:print" [195]ommodore 1525"
- 30 print" [195]ommodore 1526":print" [195]ommodore [205][208][211] 801"
- 40 print" [212]ymac [195]onnection"
- 50 print" [195]ard/?[160][193], [194], or +[199]"
- 60 print" [194]us[195]ard [201][197][197][197]"
- 70 print"or any other 1525-compatible setup?"
- 80 pokeb,.:waitb,1:geta$
- 90 ifa$="y"ora$="[217]"thenpa=4:sa=7:c8%=-1: goto300
- 100 ifa$<>"n"anda$<>"[206]"then80
- 110 print"[196]o you have a [195]ommodore 1520?"
- 115 forx=0to10:printbl$:next
- 120 pokeb,.:waitb,1:geta$
- 130 ifa$="y"ora$="[217]"thenpa=6:sa=0: goto300
- 140 ifa$<>"n"anda$<>"[206]"then120
- 150 print"[196]o you have an old [195]ommodore 1515?"
- 155 forx=0to10:printbl$:next
- 160 pokeb,.:waitb,1:geta$
- 170 ifa$="y"ora$="[217]"thenpa=4:sa=7:c8%=0: goto300
- 180 ifa$<>"n"anda$<>"[206]"then160
- 190 :
- 200 print"[207].[203]. then, please enter the correct"
- 202 print"data for your printer:"
- 203 forx=0to10:printbl$:next
- 204 print"[197]nter primary address --";:inputpa$:pa=val(pa$)
- 206 print:print:print"[197]nter secondary address --";:inputsa$:sa=val(sa$)
- 300 rem done
- 301 print"":forx=0to10:printbl$:next
- 302 print"[208]rimary address of"pa"[157]."
- 304 print"[211]econdary address of"sa"[157]."
- 305 :
- 310 print"[193]re these selections correct?"
- 312 print" [[217]/[206]] or [209] to [209]uit"
- 315 pokeb,0:waitb,1:geta$
- 320 ifa$<>"y"anda$<>"n"anda$<>"q"then315
- 325 :
- 330 ifa$="q"then1000
- 340 ifa$="n"then10
- 345 goto500 : rem do the stuff
- 350 :
- 360 print"":forx=0to20:printbl$:next
- 370 print" [208]lease make sure side"si"of your"
- 375 print" [204][207][193][196][211][212][193][210] disk is in your drive."
- 380 print" [208]lease press a key when you are ready."
- 381 print" ([208]ress [209] to [209]uit)"
- 382 pokeb,0:waitb,1:geta$:ifa$="q"then300
- 386 open15,8,15,"i0":open8,8,8,"print.file":input#15,er,er$,ns,tr
- 387 fl=0:ifer<20then400
- 388 print" [196] [201] [211] [203][160] [197] [210] [210] [207] [210]!!!":fordl=1to2500:next:fl=1
- 389 close8:close15:return
- 390 :
- 400 rem do the real stuff
- 402 print#15,"p"chr$(8)chr$(1)chr$(0)chr$(1):print#8,pa;chr$(13);sa;chr$(13)
- 405 close8:close15
- 410 print" [208]rint file is now on this side"
- 412 print" of the disk."
- 416 return
- 450 :
- 500 gosub360:iffl=1then500
- 510 ifsi=1thensi=2:goto530
- 520 ifsi=2thensi=1
- 530 gosub360:iffl=1then530
- 540 print"":forx=0to20:printbl$:next
- 542 print"[208]rocess now complete."
- 544 print"[206]ow returning to [204][207][193][196][211][212][193][210]..."
- 1000 fordl=1to1000:next: load"hello connect",8
-